﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NGUYENTHUTRANG.OOP.MVC.ex2
{
    class Controller
    {
        MODELS mojb;
        public Controller ()
        {
            mojb = new MODELS();

        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="e"></param>
        /// <param name="shOpt"></param>
        /// <returns></returns>
        public double Calculatorcontroller(entity e,short shOpt)
        {
            return mojb.docalculator(e, shOpt);
            
        }
    }
}
